package com.sxhuayuan.parking.utils;

import java.util.Arrays;

public class StringArray {

	public static void main(String[] args) {

	}

	// 字符数组从小到大排序
	public static String strArray(String[] str) {
		Arrays.sort(str);
		StringBuffer buffer = new StringBuffer();
		for (int i = 0; i < str.length; i++) {
			buffer.append(str[i] + "&");
		}
		return buffer.toString();
	}
}
